package so.ifl.vo;

import java.util.Date;
/**
 * 咨询信息
 * @author simon
 * create at 2011-12-26 下午3:15:17
 * <mailto:liangyuanliu@gmail.com>
 */
public class ConsultVo implements java.io.Serializable
{
	private static final long serialVersionUID = 1L;
	private Integer consultId;
	private Integer companyId;
	private String consultName;
	private String consultPhone;
	private Date consultRegisterTime;
	private Integer consultStatus;
	private String consultNote;
	private String createUser;
	private Date createTime;
	private String lastModifyUser;
	private Date lastModifyTime;

	// Constructors

	/** default constructor */
	public ConsultVo()
	{
	}

	/** full constructor */
	public ConsultVo(Integer companyId, String consultName,
			String consultPhone, Date consultRegisterTime,
			Integer consultStatus, String consultNote, String createUser,
			Date createTime, String lastModifyUser,
			Date lastModifyTime)
	{
		this.companyId = companyId;
		this.consultName = consultName;
		this.consultPhone = consultPhone;
		this.consultRegisterTime = consultRegisterTime;
		this.consultStatus = consultStatus;
		this.consultNote = consultNote;
		this.createUser = createUser;
		this.createTime = createTime;
		this.lastModifyUser = lastModifyUser;
		this.lastModifyTime = lastModifyTime;
	}

	public Integer getConsultId() {
		return consultId;
	}

	public void setConsultId(Integer consultId) {
		this.consultId = consultId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getConsultName() {
		return consultName;
	}

	public void setConsultName(String consultName) {
		this.consultName = consultName;
	}

	public String getConsultPhone() {
		return consultPhone;
	}

	public void setConsultPhone(String consultPhone) {
		this.consultPhone = consultPhone;
	}

	public Date getConsultRegisterTime() {
		return consultRegisterTime;
	}

	public void setConsultRegisterTime(Date consultRegisterTime) {
		this.consultRegisterTime = consultRegisterTime;
	}

	public Integer getConsultStatus() {
		return consultStatus;
	}

	public void setConsultStatus(Integer consultStatus) {
		this.consultStatus = consultStatus;
	}

	public String getConsultNote() {
		return consultNote;
	}

	public void setConsultNote(String consultNote) {
		this.consultNote = consultNote;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getLastModifyUser() {
		return lastModifyUser;
	}

	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	@Override
	public String toString() {
		StringBuffer s = new StringBuffer();
		s.append("{consult_id_:" + consultId);
		s.append(",company_id:" + companyId);
		s.append(",consult_name_:" + consultName);
		s.append(",consult_phone_:" + consultPhone);
		s.append(",consult_register_time_:" + consultRegisterTime);
		s.append(",consult_status_:" + consultStatus);
		s.append(",consult_note_:" + consultNote);
		s.append(",create_user_:" + createUser);
		s.append(",create_time_:" + createTime);
		s.append(",last_modify_user:" + lastModifyUser);
		s.append(",last_modify_time_:" + lastModifyTime+"}");
		/**
		 *create by aaron.lu
		 *create at 2011-12-19 上午10:13:13
		 *<mailto> atyuan.lu@gmail.com
		**/
		return s.toString();
	}
	
}